package org.zfes.snowier.cloud.zbss.cms.template.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.template.model.CmsTemplate;
public interface ICmsTemplateService{

	 Optional<CmsTemplate> loadCmsTemplateById(Long id);
	
	 void createCmsTemplate(CmsTemplate cmsTemplate);
	
	 void updateCmsTemplate(CmsTemplate cmsTemplate);

	 void deleteCmsTemplate(Long id);
	
	 DataSet loadCmsTemplateDataSet(Map<String, Object> params);
	 

 	void setCmsTemplateStatus(Long id, Byte status);
}